using System;

namespace FKRP.WP7.Library.SkeletonTracker
{
    public class ClientEventArgs : EventArgs
    {
        public ClientEventArgs(ClientEventTypes responseType, bool isError, string response)
        {
            ResponseType = responseType;
            IsError = isError;
            Response = response;
        }

        public ClientEventTypes ResponseType { get; set; }

        // True if an error occurred, False otherwise
        public bool IsError { get; set; }

        // If there was an error, this will contain the error message, data otherwise
        public string Response { get; set; }
    }
}
